<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-3.5.1.js"></script>
</head>
<body>
<!--
jquery公式: $(selector).action()
-->
<a href="#" id="test-jquery">点我</a>
<script>
    $('#test-jquery').click(function () {
        alert("aaa");
    });
</script>
</body>
</html>